Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omit internal=<nil> in error strings #1525

Merged
merged 1 commit into from
Mar 5, 2020
Merged

Omit internal=<nil> in error strings #1525

merged 1 commit into from
Mar 5, 2020

Conversation

flimzy
Copy link
Contributor

@flimzy flimzy commented Mar 4, 2020

The addition of internal=%v to the HTTPError.Error() output broke a number of our tests, and introduces a rather strange looking internal=<nil> field to the vast majority of our errors.

This PR omits that field, when it is nil.

@codecov
Copy link

codecov bot commented Mar 4, 2020

Codecov Report

Merging #1525 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1525      +/-   ##
==========================================
+ Coverage   84.83%   84.84%   +0.01%     
==========================================
  Files          28       28              
  Lines        2163     2165       +2     
==========================================
+ Hits         1835     1837       +2     
  Misses        213      213              
  Partials      115      115              

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e8a797...cd82e3f. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants